.app {
  transition: filter 0.2s;
  /* box-shadow: 0 0 1px #ddd; */
  /* box-shadow: 5px 5px 223px 1px #ddd1;  */
  /* border: 1px solid #ddd7; */
  /* background-color: #fafafa; */
}
.app .view-page-max {
  width: 90%;
}
.view-page-max {
  min-width: 400px;
  max-width: 1200px;
  max-height: 1800px;
  margin-left: auto;
  margin-right: auto;
}
body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url(~@/../public/bg2.svg);
  background-position: center;
  background-size: cover;
  filter: grayscale(0.4);
  opacity: 0.3;
  z-index: -1;
  /* pointer-events: none; */
  /* background-repeat: no-repeat; */
  /* background-size: auto 50%; */
}
.api-doc-edit {
  z-index: 100;
  padding: 20px;
}
/* .api::after {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
} */
.api-doc-edit-effect .content,
.api-doc-edit-effect .head {
  filter: blur(5px);
  transition: filter 0.3s ease-in;
}
.head {
  padding: 10px 0;
  padding-bottom: 0;
  /* border-bottom: 1px solid #ddd7; */
  z-index: 2;
  position: relative;
}

.content {
  flex-grow: 1;
  overflow: visible;
  z-index: 1;
  position: relative;
  border-top: none;
}

.api-add {
  padding: 0 5px;
  /* border: 1px solid #ddd; */
}

.menu-width {
  /* width: 22%; */
  width: 240px;
}

.label {
  text-align: right;
  margin: 0 5px;
  white-space: nowrap;
  min-width: 70px;
  color: #424444;
}

.label-auto {
  min-width: auto;
  /* color: #995f1c; */
}

.search {
  border: 1px solid #dcdfe6;
  border-radius: 30px;
  height: 30px;
}

.search input {
  border: none;
  flex-grow: 1;
  width: auto;
  flex-grow: 1;
}

.search .icon {
  margin: 2px 8px;
  height: 18px;
  fill: #c0c4cc;
}

.api-list-view .search {
  margin: 10px;
}



.api-item {
  padding: 2px 10px;
  cursor: pointer;
}

.api-name {
  flex-grow: 0;
  overflow: hidden;
}

.api-item .api-remove {
  padding: 3px 5px;
  flex-shrink: 0;
  opacity: 0;
  transition: 0.6s;
}

.api-item:hover .api-remove {
  opacity: 1;
}

.item-active {
  color: #db821c;
}

.url-info {
  opacity: 0.8;
  font-size: 0.8rem;
  color: #aaa;
  margin-top: -5px;
  padding-bottom: 3px;
}

.item-active .url-info {
  color: #db821cc2;
}

.api-item-active::after {
  content: "";
  display: block;
  width: 2px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  /* background: #2d8cf0; */
}
